package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.MyGroup;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * @author cherish
 */
public interface GroupService extends BaseService<MyGroup> {
    PageInfo<MyGroup> queryByCondition(String groupName, Integer page, Integer limit, String sort, String order);

    int deleteCascade(MyGroup group) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    List<MyGroup> queryAllGroup();

}
